//
//  AttentionSchoolViewCell.m
//  Arts1
//
//  Created by apple on 15/9/7.
//  Copyright (c) 2015年 Arts1. All rights reserved.
//

#import "AttentionSchoolViewCell.h"
#import "AllHeader.h"

@implementation AttentionSchoolViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        _imageBackGround = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH - 20 * WIDTH, 80 * HEIGHT)];
        _imageBackGround.layer.cornerRadius = 5;
        _imageBackGround.backgroundColor = [UIColor grayColor];
        [UIView viewShadowColor:_imageBackGround];
        [self addSubview:_imageBackGround];
        
        _labelTitle = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, _imageBackGround.width, _imageBackGround.height)];
        _labelTitle.font = [UIFont systemFontOfSize:17];
        _labelTitle.textAlignment = NSTextAlignmentCenter;
        _labelTitle.text = @"中央美术学院";
        _labelTitle.textColor = [UIColor whiteColor];
        [_imageBackGround addSubview:_labelTitle];
        
    }
    return self;
}

@end
